home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 828 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.1 KB

  1. Path: familynews.cycor.ca!usenet
  2. From: gdskelho@peinet.pe.ca (Greg Skelhorn)
  3. Newsgroups: comp.lang.c++
  4. Subject: [Q] Optimizing size of DOS exe with Borland C++ 4.5
  5. Date: 7 Jan 1996 17:43:54 GMT
  6. Organization: Cycor Communications Inc., Coast to Coast Internet Services
  7. Message-ID: <4cp0oq$8h8@bud.peinet.pe.ca>
  8. NNTP-Posting-Host: ss-as09.peinet.pe.ca
  9. X-Newsreader: WinVN 0.92.6
  10.  
  11. Hello,
  12.  
  13. I have been playing with an Interrupt Service Class library
  14. (ISC366 by Ofer Laor) I downloaded recently.  I cannot seem to
  15. achieve the same size executables as are provided in the package.  
  16. I have read my compiler manuals, compiled without debugging info,
  17. stripped symbol tables, and set all optimizations for size (-O1)
  18. but my executables are 3 to 4 times the size I expect.  The 
  19. examples were compiled with Borland C++ v3.  
  20.  
  21. - Is there any notable differences with the static libraries 
  22.   between the two?
  23.  
  24. - Have I missed something about optimizing size with my compiler?
  25.  
  26. These classes are used to produce TSR's so any help will be appreciated.
  27.  
  28. Thanks,
  29.  
  30. Greg Skelhorn
  31. gdskelho@peinet.pe.ca
  32.